{include file="header.tpl"}
<form name="form1" method="post" action="" enctype="multipart/form-data" id="add_form">

<p>Nhap title cho bai bao: <input name="title" type="text" value="{$form->title}" /> {$form->getError('title_null')}</p>
<p>Nhap sabo cho bai bao: <textarea name="sabo" id="sabo" rows="5" cols="20" wrap="physical" >{$form->sabo}</textarea> {$form->getError('sabo_null')}</p>
<p>Nhap content cho bai bao: <textarea name="content" id="content" rows="20" cols="40" wrap="physical" >{$form->content}</textarea> {$form->getError('content_null')}</p>
<p>Nhap datetime cho bai bao: {html_select_date  start_year='-8'  time=$form->date field_order='DMY'    end_year='+10' display_days=true}
{$form->getError('upload_image')}
{if $form->img_name_alias !=''}
<img src="../data/image/upload/hoatdong/{$form->img_name_alias}" width="56" height="65" />
{/if}
<p>Upload hinh anh: <input name="img" type="file"  src="{$form->img_name_alias} " /><p>

<p>Active: <input name="active" type="radio" value="1" checked/> No_Active: <input name="active" type="radio" value="0" /></p>

<p><input name="Edit" type="submit" value="Edit"  id="add_submit"/></p>
</form>
{include file="footer.tpl"}